package com.wuxb.util.disruptor;

import com.lmax.disruptor.EventFactory;

public class Factory<T> implements EventFactory<T> {
    private T t;

    public Factory(T t){
        this.t = t;
    }

    @Override
    public T newInstance() {
        return t;
    }
}
